package kuaizu.common.param;

import jakarta.validation.constraints.NotNull;
import kuaizu.common.em.ProjectOrientationEm;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

/**
 * @author: xiaokai
 * @date: 2025/8/16
 **/
@Data
public class StudentInfoListParam {
    //项目偏向
    private ProjectOrientationEm orientation;
    //学校id
    private Integer schoolId;
    //专业id
    private Integer majorId;
    //当前页码
    @NotNull(message = "页码不能为空")
    @Range(min = 1, max = 10000, message = "页码错误")
    private Integer pageNum;//当前页码
    //每页条数
    @NotNull(message = "不能为空")
    @Range(min = 1, max = 1000, message = "每页条数错误")
    private Integer pageSize;//每页条数
}